package org.codegallery.javagal.concurrent.cpj;

import java.awt.Dimension;

public class Wrapper extends SingleOutputPushStage implements PushStage {
	protected final int thickness;

	public Wrapper(int t) {
		thickness = t;
	}

	public void putA(Box p) {
		Dimension d = new Dimension(thickness, thickness);
		next1().putA(new WrappedBox(p, d));
	}
}
